projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e81e6a2
)
Ignore empty hover info
author
Felicián Németh
<felician.nemeth@gmail.com>
Fri, 20 Mar 2020 08:42:44 +0000
(09:42 +0100)
committer
Felicián Németh
<nemethf@tmit.bme.hu>
Fri, 20 Mar 2020 08:52:14 +0000
(
04:52
-0400)
This just mimics a similar check in `eglot-help-at-point'.
* eglot.el (eglot-eldoc-function): Check emptiness of `contents' more
carefully.
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/425
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 8d1d2d71574e6dbb703a89515e4f25a7b79e6d34..fe06e0c9ada3dcc5a94088631fc2737ea7680c8e 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-2296,7
+2296,7
@@
potentially rename EGLOT's help buffer."
:success-fn (eglot--lambda ((Hover) contents range)
(unless sig-showing
(when-buffer-window
- (when-let (info (and
contents
+ (when-let (info (and
(not (seq-empty-p contents))
(eglot--hover-info contents
range)))
(eglot--update-doc info thing-at-point)))))